<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%
	/**
	 * @author 谭湘元
	 * @since 2009/05/22
	 */

 %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb18030" />
<title>聋校备课与语言学习及矫治系统</title>
<fmt:setBundle basename="PathResource" scope="session" />
<link href="<%=request.getContextPath() %>/<fmt:message key='StylePath' />style2.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
	//var centerWindow;
	//function gameLevelChecked(obj,difficult_p){
	//	if(obj.checked){
	//		centerWindow.difficulty_f = difficult_p;
	//	}
	//}
	//window.onload = function(){
	//	centerWindow = self.parent.frames["center"];
	//}
	function getGameLevel(){
		var levels = document.getElementsByName("gameLevel");
		for(var i=0;i<levels.length;i++){
			if(levels[i].checked){ 
				return (parseInt(levels[i].value)+1)*30;
			}
		}
		return 30;
	}
</script>

</head>

<body  class="left_style" bgcolor="#ccea68">
<form id="form1" name="form1" method="post" action="">
  <table width="203" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td height="700" align="right" valign="top" background="<%=request.getContextPath() %>/<fmt:message key='CommonImagePath' />jz_img/jzxx/left_bg.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td height="20">&nbsp;</td>
        </tr>
        <tr>
          <td align="right"><table width="196" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td><img src="<%=request.getContextPath() %>/<fmt:message key='CommonImagePath' />jz_img/mbpg/left_02.gif" width="196" height="88" /></td>
            </tr>
            <tr>
              <td height="150" align="center" valign="middle" background="<%=request.getContextPath() %>/<fmt:message key='CommonImagePath' />jz_img/mbpg/left_03.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td align="center"><table width="85%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td height="15" align="left"><strong>难度控制：</strong></td>
                    </tr>
                    <tr>
                      <td align="right"><table width="95%" height="100" border="0" cellspacing="10" cellpadding="0">
                          <tr>
                            <td width="40%" align="right"><input type="radio" name="gameLevel" value="0" <c:if test="${__rescue_game_resouce_container_key__.gameLevel==0 }">checked</c:if> /></td>
                            <td width="60%" align="left"><img src="<%=request.getContextPath() %>/<fmt:message key='CommonImagePath' />jz_img/ktyx/img_01.gif" width="17" height="19" /> </td>
                          </tr>
                          <tr>
                            <td align="right"><input type="radio" name="gameLevel" value="1" <c:if test="${__rescue_game_resouce_container_key__.gameLevel==1 }">checked</c:if> /></td>
                            <td align="left"><img src="<%=request.getContextPath() %>/<fmt:message key='CommonImagePath' />jz_img/ktyx/img_02.gif" width="25" height="16" /></td>
                          </tr>
                          <tr>
                            <td align="right"><input type="radio" name="gameLevel" value="2" <c:if test="${__rescue_game_resouce_container_key__.gameLevel==2 }">checked</c:if> /></td>
                            <td align="left"><img src="<%=request.getContextPath() %>/<fmt:message key='CommonImagePath' />jz_img/ktyx/img_03.gif" width="25" height="21" /></td>
                          </tr>
                      </table></td>
                    </tr>
                  </table></td>
                </tr>
                <tr>
                  <td align="center"><table width="85%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td height="15" align="left"><strong>游戏排名：</strong></td>
                    </tr>
                    <tr>
                      <td height="150" align="center" valign="middle"><table width="100%" height="100" border="0" cellpadding="0" cellspacing="2" bordercolor="0">
                          <tr>
                            <td align="left" valign="top"><table width="100%" border="1" cellpadding="0" cellspacing="1" bordercolor="#FFFFFF">
                                <tr>
                                  <td height="20" align="center" bgcolor="#CCEA68">排名</td>
                                  <td height="20" align="center" bgcolor="#CCEA68">姓名</td>
                                  <td height="20" align="center" bgcolor="#CCEA68">分数</td>
                                </tr>
								<tbody id="scoreBody">
								<c:forEach items="${__rescue_game_resouce_container_key__.histories}" var="item" varStatus="status">
                                <tr>
                                  <td height="20" align="center" bgcolor="#FFFFFF"><c:out value="${status.count}" /></td>
                                  <td height="20" align="center" bgcolor="#FFFFFF"><c:out value="${item.student.sname}" /></td>
                                  <td height="20" align="center" bgcolor="#FFFFFF"><c:out value="${item.score}" /></td>
                                </tr>
                                </c:forEach>
								</tbody>
                            </table></td>
                          </tr>
                      </table></td>
                    </tr>
                  </table></td>
                </tr>
              </table></td>
            </tr>
            <tr>
              <td><img src="<%=request.getContextPath() %>/<fmt:message key='CommonImagePath' />jz_img/mbpg/left_04.gif" width="196" height="23" /></td>
            </tr>
          </table>          </td>
        </tr>
        
      </table></td>
    </tr>
  </table>
</form>
</body>
</html>
